﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AotoFacDto.Input;
using AotoFacDto.Model;
using AotoFacDto.OutPut;
using IAutoFacDal.User;

namespace AotoFacDal.User
{
    public class UserDal:IUserDal
    {
        public UserAddOutputDto UserAdd(UserAddInputDto input)
        {


            UserAddOutputDto output=new UserAddOutputDto(){Info =new UserModel()};
            output.Info.Age = input.Age;
            output.Info.Name = input.Name;
            output.Info.Sex = input.Sex;
            return output;
        }
    }
}
